<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>支付页面</title>
</head>
<body>
<form th:action="@{/myPay/pay}" method="post">
    订单号：<input type="text" name="tradeNo" th:value="${tradeNo}" required /><br />
    付款金额：<input type="text" name="amount" th:value="${totalPrice}" required /><br />
    订单名称：<input type="text" name="name" th:value="${name}" required /><br />
    商品描述：<input type="text" name="desc" /><br />
    <input type="submit" value="下单" />
</form>
</body>
</html>